package com.framework.yhbEntity.user;

import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 *
 */
@Data
public class YhbCreditCard {

    /**
     * 主键id
     */
    @TableId
    @ApiModelProperty(hidden = true)
    private Long cardId;
    /**
     * 信用卡类型
     */
    @ApiModelProperty(value = "信用卡类型" , required = true)
    private Integer bankType;
    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人" , required = true)
    private String proName;
    /**
     * 申请时间
     */
    @ApiModelProperty(hidden = true)
    private Date proDate;
    /**
     * 录入时间
     */
    @ApiModelProperty(hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 状态  2：审核中 3：失败 1:成功
     */
    @ApiModelProperty(hidden = true)
    private String cardState;
    /**
     * 所属代理商
     */
    @ApiModelProperty(value = "所属代理商" , required = true)
    private String userId;
    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码" , required = true)
    private String identity;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码" , required = true)
    private String phone;
    /**
     * 核卡状态
     */
    @ApiModelProperty(hidden = true)
    private String nuclearCard;

    /**
     * 是否结算过
     */
    @ApiModelProperty(hidden = true)
    private Integer isSettle;
}
